package com.admin.controller.v1;

import com.admin.service.WemediaNewsAutoScanService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 秉性哥
 * @createTime 2022/10/24 21:13
 * @description
 */
@RequestMapping("/auto")
@RestController
public class TestController {
    @Autowired
    private WemediaNewsAutoScanService wemediaNewsAutoScanService;

    @RequestMapping("autoScanByMediaNewsId")
    public void autoScanByMediaNewsId(Integer id) {
        wemediaNewsAutoScanService.autoScanByMediaNewsId(id);
    }
}
